package com.ruoyi.system.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.order.domain.OrderComment;
import com.ruoyi.system.order.domain.OrderCommentDTO;
import com.ruoyi.system.order.domain.OrderCommentQueryDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lenovo
* @description 针对表【order_comment(订单评价表)】的数据库操作Mapper
* @createDate 2025-07-01 10:40:59
* @Entity generator.domain.OrderComment
*/
@Mapper
public interface OrderCommentMapper extends BaseMapper<OrderComment> {
    /**
     * 分页查询评论 + 买家 + 商家 + 骑手
     */
    List<OrderCommentDTO> selectCommentDTOPage(@Param("q") OrderCommentQueryDTO q);

    List<OrderCommentDTO> getOne(Long id);

}




